FROM python:3.7.5
RUN mkdir -p /app
WORKDIR /app
ADD . /app
RUN pip install -i https://pypi.doubanio.com/simple uwsgi
RUN pip install -i https://pypi.doubanio.com/simple/ -r requirements.txt
RUN sed -i 's/\r//' ./start.sh
RUN chmod +x ./start.sh